# -*-coding:utf-8-*-
import os
import traceback

from logTest import logger
from monkeyTest import run_monkey

if __name__ == '__main__':
    print("monkey日志见路径：D://monkeyTest//monkey.log\n")
    print("工具执行日志见路径：D://monkeyTest//log.log\n")
    try:
        run_monkey()
        input("\n请按任意键结束进程>>>>>>")
    except:
        err = traceback.format_exc()
        print(logger.error(err))
        logger.error(err)



# 打包命令
# pyinstaller -F -c -i monkey.ico main.py